package com.itheima.leyou.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.itheima.leyou.po.Sku;
import org.apache.ibatis.annotations.Param;
import org.apache.ibatis.annotations.Select;

public interface SkuMapper extends BaseMapper<Sku> {

    @Select("select *  from tb_sku  where  id=#{id}")
    Sku selectStockById(@Param("id") Long id);
}
